/*
 * CostType.h
 *
 *  Created on: 2013-1-31
 *      Author: Dspark
 */

#ifndef COSTTYPE_H_
#define COSTTYPE_H_
#include <qstring.h>
class CostType {
public:
	CostType();
	CostType(quint32 id,const QString& name, const QString& comment, bool active=true);
	virtual ~CostType();
	quint32 getId(){
		return id;
	}
	QString& getName(){
		return name;
	}
	bool isActive(){
		return active;
	}
	QString& getComment(){
		return comment;
	}
private:
	quint32 id;
	QString name,comment;
	bool active;
};

#endif /* COSTTYPE_H_ */
